home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / S / SpriteWorld 1.0b4.sit / SpriteWorld / Examples / SpriteTest / About.h / About.h
Encoding:
Text File  |  1994-04-25  |  1.1 KB  |  70 lines  |  [TEXT/KAHL]

  1. //--------------------------------------------------------------------------------------
  2. //    About.h
  3. //
  4. //    By:        Tony Myles
  5. //
  6. //    Copyright: © 1993-94 Tony Myles, All rights reserved worldwide.
  7. ///--------------------------------------------------------------------------------------
  8.  
  9.  
  10. #ifndef __ABOUT__
  11. #define __ABOUT__
  12.  
  13. #ifndef __DIALOGS__
  14. #include <Dialogs.h>
  15. #endif
  16.  
  17. #ifndef __EVENTS__
  18. #include <Events.h>
  19. #endif
  20.  
  21. #ifndef __SPRITE__
  22. #include <Sprite.h>
  23. #endif
  24.  
  25.  
  26. enum
  27. {
  28.     kAboutDialogID = 1000,
  29.     kEarthCIconID = 300,
  30.     kShadowCIconID = 301,
  31.     kNumberOfShadowFrames = 3,
  32.     kInitialSpeed = 14,
  33.     kMaxSpeed = 15,
  34.     kReturnChar = 0x0D,
  35.     kEnterChar = 0x03
  36. };
  37.  
  38.  
  39. #ifndef NewModalFilterProc
  40. #define NewModalFilterProc(x) (x)
  41. #endif
  42.  
  43.  
  44. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47.  
  48.  
  49. void DisplayAboutBox(void);
  50.  
  51. SW_FUNC void ShadowFrameProc(
  52.     SpritePtr srcSpriteP,
  53.     FramePtr curFrameP,
  54.     long* curFrameIndex);
  55.  
  56. SW_FUNC void EarthMoveProc(
  57.     SpritePtr srcSpriteP,
  58.     Point* spritePoint);
  59.  
  60. pascal Boolean AboutDialogFilter(
  61.     DialogPtr aboutDialogP,
  62.     EventRecord *event,
  63.     short *itemHit);
  64.  
  65.  
  66. #ifdef __cplusplus
  67. };
  68. #endif
  69. #endif
  70.